package com.example.client.impl;

import com.example.client.BaseClient;
import com.example.vo.User;
import com.example.common.Rt;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class BaseClientImpl implements BaseClient {

	@Override
	public Rt<User> getById(Integer id) {
		log.error("熔断器触发了...");
		return Rt.fail("熔断器触发了...");
	}
}
